<template>
	<view>
	  <view class="formdiv">
	      <view class="showerweiam">
	         <button open-type="share" class="bdalad" style="background-color: #009688;color: #fff;">邀请新网点</button>
	      </view>
	  </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				jxs_code:""
			}
		},
		onShow(){
		  let jxs_code=uni.getStorageSync('fahuo_username').user_code
		  this.jxs_code=jxs_code
		},
		/**
		 * 用户点击右上角分享
		 */
		onShareAppMessage() {
		  let jxs_code=this.jxs_code
		  let nickname=uni.getStorageSync('fahuo_username').nickname
		  return {
			title:"网点招募",
			imageUrl:"https://myr.wissun.net/static/newhome/img/sharemyr.png",
			path:"/pages/main/duojifahuo/wdzhaomu/setp2?jxs_code="+jxs_code+"&nickname="+nickname
		  }
		},
		methods: {
			
		}
	}
</script>

<style>
.bdalad{
	width: 50%;
	font-size: 14px;
}
.uploadbtn{
  width: 150px;
  text-align: center;
  margin: 0 auto;
  margin-top: 150px;
  background-color: #999;
  color: #fff;
  height: 35px;
  line-height: 35px;
  border-radius: 5px;
  font-size: 14px;
}
.itemcent{
  display: flex;
  height: 35px;
  line-height: 35px;
  background: #fff;
  padding-left: 10px;
  font-size: 14px;
  border-bottom: 2px solid #eee;
  width: calc(100% - 40px);
  margin: 0 auto;
  margin: 10px;
}
.showerweiam{
  height: 300px;
}
page{
  background-color: #eee;
}
button{
  position: relative;
  top: 150px;
}
.formdiv{
  width: calc(100% - 20px);
  margin: 100px auto;
  background-color: #fff;
  border-radius: 2px;
  padding-bottom: 50px;
}

</style>
